import request from '@/utils/request'

// 查询就业跟踪列表
export function listEmploymentTrace(query) {
  return request({
    url: '/employment/employmentTrace/list',
    method: 'get',
    params: query
  })
}

// 查询就业跟踪详细
export function getEmploymentTrace(id) {
  return request({
    url: '/employment/employmentTrace/' + id,
    method: 'get'
  })
}

// 新增就业跟踪
export function addEmploymentTrace(data) {
  return request({
    url: '/employment/employmentTrace',
    method: 'post',
    data: data
  })
}

// 新增就业跟踪
export function addBatch(data) {
  return request({
    url: '/employment/employmentTrace/addBatch',
    method: 'post',
    data: data
  })
}

// 修改就业跟踪
export function updateEmploymentTrace(data) {
  return request({
    url: '/employment/employmentTrace',
    method: 'put',
    data: data
  })
}

// 删除就业跟踪
export function delEmploymentTrace(id) {
  return request({
    url: '/employment/employmentTrace/' + id,
    method: 'delete'
  })
}
/*查询所有班级*/

export function listClassName() {
  return request({
    url: '/student/class/list',
    method: 'get',
  })
}
